package zl.osimall.common.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import zl.osimall.common.bean.GoodsPic;

import java.util.List;

@Mapper
public interface GoodsPicMapper {

    int insert(@Param("goodsList") List<GoodsPic> goodsList);

    int delete(Integer goodsId);

    List<GoodsPic> selectByGoodsId(Integer id);
}
